/* header */
header{
    width: 1262px;
    height: 162px;
    margin: auto;
    background-image: url(../images/bg.jpg);
    background-position: 0px -18px;
    display: flex;
}
.clearfix::before,.clearfix::after{
    content: "";
    display: table;
    clear: both;
}
.logo{
    margin-left: 161px;
    margin-top: 34px;
    margin-right: 116px;
}
.title{
    width: 90px;
    height: 90px;
    margin-top: 45px;
    margin-right: 25px;
    text-align: center;
}
.title>a>h1{
    font-weight: bold;
    /* color: #497e04; */
    color: #bbbbbb;
    display: inline-block;
}
.title>a>h2{
    font-weight: bold;
    color: #5c5c5c;
    font-size: 12px;
    margin-bottom: 15px;
}
.small-pic{
    position: relative;
    left: 25px;
}
.small-pic>a>img{
    position: absolute;
    display: block;
}
.title:hover>a>h1{
    color: #497e04;
}
.title:hover>a>h2{
    color: #d2d2d2;
}
.title:hover>div>a:nth-child(2)>img{
    display: none;
}
.slideshow{
    width: 1262px;
    height: 423px;
    margin: auto;
    background-image: url(../images/bg_slider.gif);
    overflow: hidden;
}
.container{
    display: flex;
    width: 5048px;
    height: 423px;
    position: relative;
    left: 0px;
    /* animation: move 10s 2s steps(3,start) infinite; */
    animation: move 10s 2s steps(4,end) infinite;
}
.container>img{
    margin-left: 161px;
    margin-right: 161px;
}
@keyframes move{
    0%{
        /* left: 0px;  */
        transform: translateX(0px);
    }
    100%{
       /*  left: -396px; */ 
        /* transform: translateX(-3786px); */
        transform: translateX(-5048px);
    }
}
.circle{
    display: flex;
    position: absolute;
    width: 80px;
    height: 16px;
    left: 720px;
    top: 520px;
}
.circle>div{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color:white;
    margin-left: 4px;
}
.black-circle{
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: black;
    position: absolute;
    left: 724px;
    top: 520px;
    /* animation: leap 10s 2s steps(3,start) infinite; */
    animation: leap 10s 2s steps(4,end) infinite;
}
@keyframes leap{
    0%{
        left: 724px;
    }
    100%{
        /* left: 784px;   */
        left: 804px; 
    }
}
/* main */
main{
    background-color: #ffffff;
    width: 1262px;
    height: 590px;
    margin: auto;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.5);
}
/* main-top */
.main-top{
    width: 940px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(4,176px);
    grid-template-rows: 190px;
    column-gap: 63px;
}
.main-top-title{
    display: flex;
}
.main-top-title>h1{
    font-size: 18px;
    width: 90px;
    font-weight: bold;
    margin-left: 10px;
    margin-top: 5px;
}
.big-title{
    width: 56px;
    height: 56px;
    background-image: url(../images/dropcap1.gif);
    font-size: 40px;
    color: white;
    text-align: center;
    line-height: 56px;
}
.main-top>div>p{
    font-size: 12px;
    margin-top: 15px;
    color: #696969;
}
.main-top>div>a>h2{
    font-size: 14px;
    color: #60b000;
    text-decoration: underline;
    margin-top: 25px;
}
/* main-bottom */
.main-bottom{
    width: 940px;
    height: 260px;
    margin: auto;
    display: grid;
    grid-template-columns: 670px 220px;
    grid-template-rows: 36px 210px;
    column-gap: 50px;
    row-gap: 14px;
}
.main-bottom>div:nth-child(1),.main-bottom>div:nth-child(2){
    font-size: 26px;
    font-weight: bold;
}
.main-bottom>div:nth-child(3){
    border-top: 1px solid #e5e5e5;
    font-size: 12px;
    display: flex;
    box-sizing: border-box;
    padding-top: 20px;
}
.main-bottom>div:nth-child(3)>div{
    width: 426px;
    margin-left: 15px;
}
.main-bottom>div:nth-child(3)>div>p{
    margin-top: 15px;
}
.main-bottom>div:nth-child(4)>div:nth-child(1){
    width: 220px;
    height: 130px;
    background-color: #f5f5f5;
}
.main-bottom>div:nth-child(4)>div>p{
    font-size: 14px;
    width: 162px;
    height: 145px;
    margin: auto;
    box-sizing: border-box;
    padding-top: 20px;
}
#triangle{
    height: 0px;
    width: 0px;
    border-width: 20px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #f5f5f5 ;
    border-right: none;
    border-bottom: none;
    margin-left: 32px;
}
.main-bottom>div:nth-child(4)>div:nth-child(3){
    display: flex;
    font-size: 12px;
}
.main-bottom>div:nth-child(4)>div:nth-child(3)>div>h1{
    font-weight: bold;
}
.up,.down{
    width: 32px;
    height: 32px;
}
.up{
    background-image: url(../images/marker_up.gif);
    margin-left: 60px;
}
.down{
    background-image: url(../images/marker_down.gif);
    margin-left: 5px;
}
/* form */
.form{
    width: 1262px;
    height: 256px;
    margin: auto;
    background-image: url(../images/bg.jpg);
}
.containers{
    width: 940px;
    height: 168px;
    margin: auto;
    margin-top: 48px;
    display: grid;
    grid-template-columns: 200px 200px 200px 220px;
    column-gap: 40px;
}
.containers>div:nth-child(1)>div,.containers>div:nth-child(2)>div,.containers>div:nth-child(3)>div{
    display: flex;
    box-sizing: border-box;
}
.containers>div:nth-child(1)>h1,.containers>div:nth-child(2)>h1,.containers>div:nth-child(3)>h1,.containers>div:nth-child(4)>h1{
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}
.pic{
    margin-right: 5px;
}
.pic>div{
    margin-top: 5px;
    margin-bottom: 10px;
}
.containers>div:nth-child(1)>div>ul>li,.containers>div:nth-child(2)>div>ul>li,.containers>div:nth-child(3)>div>ul>li{
    height: 30px;
    line-height: 30px;
    border-top: 1px solid #292929;
    color: #69694f;
    font-size: 12px;
}
.containers>div:nth-child(1)>div>ul>li{
    width: 185px;
}
.containers>div:nth-child(1)>div>ul>li:nth-child(4),.containers>div:nth-child(2)>div>ul>li:nth-child(4),.containers>div:nth-child(3)>div>ul>li:nth-child(4){
    border-bottom:1px solid #292929;
}
.containers>div:nth-child(2)>div>ul:nth-child(2)>li{
    width: 130px;
    /* box-sizing: border-box; */
    padding-left: 20px;
}
.containers>div:nth-child(3)>div>ul:nth-child(2)>li{
    width: 175px;
}
.containers>div:nth-child(4){
    position: relative;
}
.containers>div:nth-child(4)>div:nth-of-type(1){
    width: 220px;
    height: 30px;
    line-height: 30px;
    background-color: white;
    color: #c0b4b4;
    text-align: center;
}
#button{
    height: 30px;
    width: 90px;
    background-color: white;
    margin-top: 10px;
    line-height: 30px;
    text-align: center;
    position: absolute;
    right: 0px;
}
footer{
    width: 1262px;
    height: 116px;
    background-color: #000000;
    margin: auto;
}
footer>div{
    color: #586958;
    width: 500px;
    margin: auto;
    box-sizing: border-box;
    padding-top: 40px;
}
footer>div>h2{
    text-align: center;
}
footer>div>h2>span{
    text-decoration: underline;
    color: white;
}